package org.mysfit.ctp4j.core.service.impl;

import org.modelmapper.ModelMapper;
import org.mysfit.ctp4j.api.vo.DemoVO;
import org.mysfit.ctp4j.core.service.DemoService;
import org.mysfit.ctp4j.infra.entity.Demo;
import org.mysfit.ctp4j.infra.mapper.DemoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author long.gf
 * @since 2022-11-18
 */
@Service
public class DemoServiceImpl extends AbstractBaseServiceImpl<DemoMapper, Demo, DemoVO> implements DemoService {

	@Autowired
	private ModelMapper modelMapper;
	
	@Override
	protected ModelMapper getModelMapper() {
		return modelMapper;
	}

	@Override
	protected Class<DemoVO> getVoCLass() {
		return DemoVO.class;
	}
	
}
